#ifndef __ML_ENEITY_H__
#define __ML_ENEITY_H__
#include "scene.h"

class Entity : public SceneNode{
public:
	Entity() = default;
	inline void setVelocity(sf::Vector2f velocity) { mVelocity = velocity;  }
	inline void setVelocity(float vx, float vy) { mVelocity.x = vx, mVelocity.y = vy; }
	inline sf::Vector2f getVelocity() { return mVelocity;  }
private:
	sf::Vector2f mVelocity;

	virtual void drawCurrent(sf::RenderTarget& target, sf::RenderStates states) const = 0;
	virtual void updateCurrent(sf::Time dt) override;
};

#endif